package com.libl.advice;

import org.springframework.aop.ThrowsAdvice;

//异常增强
public class MyThrowingAdvice implements ThrowsAdvice {
    //注意：异常增强接口里没有方法，可以自己随便写
    public void afterThrowing(Exception ex){
        System.out.println("异常增强辅助功能");
    }
}
